package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.CorporationContractFile;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2024-11-16
 */
public interface CorporationContractFileService extends IService<CorporationContractFile> {

    List<CorporationContractFile> listByContractId(Long contractId);

    void deleteByFileIdsNotIn(Long contractId, List<Long> fileIds);

    int deleteByContractId(Long contractId);

    List<CorporationContractFile> listByContractIdIn(List<Long> contractIds);

}
